package spring.service.impl;

import com.yvdedu.mybatis.mapper.UserMapper;
import org.springframework.stereotype.Service;
import spring.service.UserService;

import javax.annotation.Resource;

@Service
public class DefaultUserService implements UserService {


    @Resource
    private UserMapper userMapper;


    public void query() {

        System.out.println(userMapper.search());
    }

}
